import request from '@/utils/request'

// 查询提现设置列表
export function listWithdrawal_config(query) {
  return request({
    url: '/game/withdrawal_config/list',
    method: 'get',
    params: query
  })
}

// 查询提现设置详细
export function getWithdrawal_config(withdrawalConfigId) {
  return request({
    url: '/game/withdrawal_config/' + withdrawalConfigId,
    method: 'get'
  })
}

// 新增提现设置
export function addWithdrawal_config(data) {
  return request({
    url: '/game/withdrawal_config',
    method: 'post',
    data: data
  })
}

// 修改提现设置
export function updateWithdrawal_config(data) {
  return request({
    url: '/game/withdrawal_config',
    method: 'put',
    data: data
  })
}

// 删除提现设置
export function delWithdrawal_config(withdrawalConfigId) {
  return request({
    url: '/game/withdrawal_config/' + withdrawalConfigId,
    method: 'delete'
  })
}
